<?php
	//加载初始化文件
    include_once('init.php');

    //编写查询的sql语句
    $sql = "select * from `news`";

    //执行语句
    $result = mysqli_query($link,$sql);

    //使用while循环从结果集逐一获取数据
    while($arr = mysqli_fetch_assoc($result)){
        $data[] = $arr;
    }


include('news_list.html');